<?php
include("lib/nusoap.php");
class Conexion
{
	static public function conectar()
	{
    	try
    	{
			$webservice = "http://localhost:1900/EssaWebService/Service.asmx?WSDL";
			//$webservice = "http://192.168.0.15/Service.asmx?WSDL";
        	$oSoapClient = new nusoap_client($webservice,true);
        	return $oSoapClient;
    	}
		catch (Exception $e)
    	{
    		return false;
    	}
	}
}
?>
